<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
						<input id="id" name="id" th:value="${cmsCompany.id}"  type="hidden">
							<div class="form-group">	
								<label class="col-sm-3 control-label">标题：</label>
								<div class="col-sm-8">
									<input id="title" name="title" th:value="${cmsCompany.title}" maxlength="80" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">简介：</label>
								<div class="col-sm-8">
									<input id="intro" name="intro" th:value="${cmsCompany.intro}" maxlength="280" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">封面图：</label>
								<div class="col-sm-8">
									<div id="file_upload_imgurl">
									</div>
									<div id="logo_imgurl" style="padding: 5px;">
										<img th:src="${cmsCompany.imgurl}" style='height: 60px;width: 60px'>
										<i class="fa fa-close" onclick="$('#imgurl').val('');$('#logo_imgurl').html('');"></i>

									</div>
									<input type="hidden" id="imgurl" name="imgurl" th:value="${cmsCompany.imgurl}" >
								</div>
							</div>
														<!-- <div class="form-group">	
								<label class="col-sm-3 control-label">封面图：</label>
								<div class="col-sm-8">
									<input id="imgurl" name="imgurl" th:value="${cmsCompany.imgurl}" class="form-control" type="text">
								</div>
							</div> -->
														<div class="form-group">
								<label class="col-sm-3 control-label">视频：</label>
								<div class="col-sm-8">
									<div id="file_upload">
									</div>
									<div id="logo" style="padding: 5px;">
										<embed th:src="${cmsCompany.img}" style='height: 60px;width: 60px'>
										<i class="fa fa-close" onclick="$('#img').val('');$('#logo').html('');"></i>

									</div>
									<input type="hidden" id="img" name="img" th:value="${cmsCompany.img}" >
								</div>
							</div>
							
							<div class="form-group">
								<input id="content" name="content" type="hidden"
									th:value="${cmsCompany.content}"> <label
									class="col-sm-3 control-label">内容：</label>
								<div class="col-sm-8">
									<div class="ibox-content no-padding">
										<div id="content_sn" class="summernote"></div>
									</div>
								</div>
							</div>
														<!-- <div class="form-group">	
								<label class="col-sm-3 control-label">创建时间：</label>
								<div class="col-sm-8">
									<input id="caAt" name="caAt" th:value="${cmsCompany.caAt}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">修改时间：</label>
								<div class="col-sm-8">
									<input id="upAt" name="upAt" th:value="${cmsCompany.upAt}" class="form-control" type="text">
								</div>
							</div>
														<div class="form-group">	
								<label class="col-sm-3 control-label">0默认1删除：</label>
								<div class="col-sm-8">
									<input id="delFlag" name="delFlag" th:value="${cmsCompany.delFlag}" class="form-control" type="text">
								</div>
							</div> -->
																					<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script src="/js/layui.js"></script>
	<script type="text/javascript" src="/js/appjs/wx/cmsCompany/edit.js">
	</script>
</body>
</html>
